package com.wyc.service.impl;

import com.wyc.dao.UserBasicDTOMapper;
import com.wyc.pojo.OtherUserInformationDTO;
import com.wyc.pojo.UserBasicDTO;
import com.wyc.service.UserBasicDTOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserBasicDTOServiceImp
 * @Author 王韫琛
 * @Date 2021/1/31 20:46
 * @Version 1.0
 */
@Service
public class UserBasicDTOServiceImp implements UserBasicDTOService {

    @Autowired
    private UserBasicDTOMapper userBasicDTOMapper;
    @Override
    public UserBasicDTO USER_BASIC_DTO(String name) {

        return userBasicDTOMapper.USER_BASIC_DTO(name);
    }

    @Override
    public OtherUserInformationDTO OTHER_USER_INFORMATION_DTO(String identity_card) {
        return userBasicDTOMapper.OTHER_USER_INFORMATION_DTO(identity_card);
    }

}
